package main

import (
	"PMS/controllers"
	"PMS/models"
	"github.com/astaxie/beego"
)

func main() {
	models.RegisterDB()
	beego.Router("/", &controllers.MainController{})
	beego.Router("/login", &controllers.LoginController{})
	beego.Run()
}
